{include file = "styles/header.tpl"}
<script type="text/javascript" src="js/user/changepwd.js"></script>

<div id="content" class="box">
	<h1>Change your password</h1>
	
	<form id="form" name="form" action="{$pageRootUrl}/changepwd" method="post" onsubmit="return checkFormChangePwdUserAdmin();">
	<fieldset>
		<table class="nostyle">
			<tr>
				<td>Username:</td>
				<td>[<strong>{$strUsername}</strong>]</td>
			</tr>
			<tr>
				<td>Password :</td>
				<td>
					<input name="txtPassOld" id="txtPassOld" type="password" tabindex="1" maxlength="50" class="input-text" />
					{if $bolResult==false}
					<p class="msg error">Password is not correct!</p>
					{/if}
				</td>
			</tr>
			<tr>
				<td class="va-top">New password :</td>
				<td>
					<input name="txtPassNew" id="txtPassNew" type="password" tabindex="2" maxlength="50"  class="input-text" />
				</td>
			</tr>
			<tr>
				<td class="va-top">Retype new password :</td>
				<td>
					<input name="txtRePassNew" id="txtRePassNew" type="password" tabindex="3" maxlength="50"  class="input-text" />
					{if $bolErrorPass==true}
					<p class="msg error">New password is not correct</p>
					{/if}
				</td>
			</tr>
		</table>
	</fieldset>
	<div align="center">
		<input type="submit" class="bt" value="Update" />
		<input type="reset" class="bt" value="Reset" />
	</div>
	</form>
</div>
<div id="currenttab" class="category_change_password" style="display: none;">
{include file = "styles/footer.tpl"}